<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="angular.js"></script>
		
	</head>
	<body ng-app='app'>
        <h2>何劲</h2>
    <div ng-controller='main'>
		{{name}}
		<br/>
		{{num+1}}
		<br/>
		{{name+'dsdsvdd'}}
		<br/>
		{{fn()+1}}
		<br/>
		{{boolean?1:5}}
		<br/>
		{{arr[4]}}
    </div>		
	<script type="text/javascript">
		var app=angular.module('app',[]);
		    app.controller('main',function($scope){
			$scope.name='angular';
			$scope.num = 1;
			$scope.fn=function(){
				return 1;
			};
		$scope.boolean=false;
		$scope.arr=[1,2,3,4];
		})
		
	</script>
</html>
